[INFO] cloning repository https://github.com/zerodhatech/kiteconnect-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zerodhatech/kiteconnect-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerodhatech%2Fkiteconnect-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerodhatech%2Fkiteconnect-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fdd0a19e189c32cc0ebf77febba9af2badf9788
[INFO] checking zerodhatech/kiteconnect-rs against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerodhatech%2Fkiteconnect-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zerodhatech/kiteconnect-rs
[INFO] finished tweaking git repo https://github.com/zerodhatech/kiteconnect-rs
[INFO] tweaked toml for git repo https://github.com/zerodhatech/kiteconnect-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zerodhatech/kiteconnect-rs on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 224 packages to latest compatible versions
[INFO] [stderr]       Adding mockito v0.27.0 (available: v1.7.2)
[INFO] [stderr]       Adding reqwest v0.9.24 (available: v0.13.4)
[INFO] [stderr]       Adding url v1.7.2 (available: v2.5.8)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] [stderr]       Adding ws v0.7.9 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ws v0.7.9
[INFO] [stderr]   Downloaded assert-json-diff v1.1.0
[INFO] [stderr]   Downloaded colored v1.9.4
[INFO] [stderr]   Downloaded extend v0.1.2
[INFO] [stderr]   Downloaded mockito v0.27.0
[INFO] [stderr]   Downloaded rust-crypto v0.2.36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2
[INFO] running `Command { std: "docker" "start" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]     Checking tinyvec v1.11.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking object v0.37.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling hyper v0.12.36
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking rustc-demangle v0.1.27
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-buf v0.1.1
[INFO] [stderr]     Checking want v0.2.0
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking try_from v0.3.2
[INFO] [stderr]     Checking sha1 v0.6.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking colored v1.9.4
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking cookie v0.12.0
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking http-body v0.1.0
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]    Compiling extend v0.1.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.5.5
[INFO] [stderr]     Checking assert-json-diff v1.1.0
[INFO] [stderr]     Checking ws v0.7.9
[INFO] [stderr]     Checking hyper-tls v0.3.2
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking publicsuffix v1.5.6
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking mockito v0.27.0
[INFO] [stderr]     Checking cookie_store v0.7.0
[INFO] [stderr]     Checking reqwest v0.9.24
[INFO] [stderr]     Checking kiteconnect v0.2.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `mockito::SERVER_URL`: Call server_url() instead
[INFO] [stdout]   --> src/connect.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 | const URL: &'static str = mockito::SERVER_URL;
[INFO] [stdout]    |                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]    --> src/connect.rs:705:9
[INFO] [stdout]     |
[INFO] [stdout] 705 |         assert_eq!(kiteconnect.session_expiry_hook, None);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the address of the same function can vary between different codegen units
[INFO] [stdout]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]     = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]    --> src/connect.rs:710:9
[INFO] [stdout]     |
[INFO] [stdout] 710 |         assert_ne!(kiteconnect.session_expiry_hook, None);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the address of the same function can vary between different codegen units
[INFO] [stdout]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/ticker.rs:421:9
[INFO] [stdout]     |
[INFO] [stdout] 421 |         kiteticker.connect(MyHandler{}, Some("127.0.0.1:3012"));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 421 |         let _ = kiteticker.connect(MyHandler{}, Some("127.0.0.1:3012"));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/ticker.rs:422:9
[INFO] [stdout]     |
[INFO] [stdout] 422 |         kiteticker.sender.unwrap().send("PING");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 422 |         let _ = kiteticker.sender.unwrap().send("PING");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ws::Message`
[INFO] [stdout]  --> examples/ticker_sample.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ws::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]   --> examples/ticker_sample.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn on_ticks<T>(&mut self, ws: &mut WebSocketHandler<T>, tick: Vec<json::Value>)
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]   --> examples/ticker_sample.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn on_close<T>(&mut self, ws: &mut WebSocketHandler<T>)
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]   --> examples/ticker_sample.rs:33:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn on_error<T>(&mut self, ws: &mut WebSocketHandler<T>)
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `count` is never read
[INFO] [stdout]   --> examples/ticker_sample.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct CustomHandler {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 10 |     count: u32
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/ticker_sample.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         ws.subscribe(vec![53511431]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let _ = ws.subscribe(vec![53511431]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/ticker_sample.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         ws.set_mode("full", vec![53511431]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ = ws.set_mode("full", vec![53511431]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/ticker_sample.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     ticker.connect(custom_handler, None);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let _ = ticker.connect(custom_handler, None);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.47s
[INFO] running `Command { std: "docker" "inspect" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2", kill_on_drop: false }`
[INFO] [stdout] 4c9828b664d31a86fb4270360852889308a135a002c5ae94b2a18e7ab2c623a2
